#ifndef __BOARD_H__
#define __BOARD_H__

#include "user.h"

#define GUESS_FILE_PATH   "./lib/guess_leaderboard.txt"
#define CLICK_FILE_PATH   "./lib/click_leaderboard.txt"
#define LIB_DIR           "./lib"

struct board_node {
    int score;
	int num;
    char name[USER_NAME_LENGTH];
    struct board_node * next;
};
typedef struct board_node board_node, * board_list;


extern int init_board(board_list p_board_list, FILE * filename);
extern void print_board(board_list p_board_list);
extern int bubble_sort(board_list p_board_list);
extern int destroy_board(board_list p_board_list);

#endif